package com.example.jiaju.enums;

import lombok.Getter;

@Getter
public enum UserHostRoleEnum {

    USER(2,"一般使用者"),

    ADMIN(1,"管理员"),

    NOT(0,"无权用户")
    ;

    private Integer code;

    private String msg;

    UserHostRoleEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
